import { md5 } from "js-md5";
import moment from "moment";

export const stickUtils = {
    toMd5: (str: string) => md5(str),
    dateFormat: (date: string | number | Date, format: string = "YYYY-MM-DD HH:mm") =>
        moment(date).format(format)
};
